package com.stars.entity.pshow;
import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import com.stars.common.base.entity.BaseEntity;/**
 * @Title: 组织管理实体
 * @author 肖伟
 * @date 2020-01-04
 * @version V1.0
 *
 */
@Data
@Table(name = "P_SHOW_ORG")
@EqualsAndHashCode(callSuper = false)
public class PShowOrgEntity extends BaseEntity{

	/**组织名称*/
	@Column(name = "ORG_NAME")
	@ApiModelProperty(value ="组织名称",name = "orgName")
	private String orgName;
	/**组织编码*/
	@Column(name = "ORG_CODE")
	@ApiModelProperty(value ="组织编码",name = "orgCode")
	private String orgCode;
	/**父ID*/
	@ApiModelProperty(value ="父ID",name = "pid")
	private String pid;
	/**层级*/
	@ApiModelProperty(value ="层级",name = "layer")
	private Integer layer;
	/**排序号*/
	@Column(name = "SORT_NUM")
	@ApiModelProperty(value ="排序号",name = "sortNum")
	private Integer sortNum;
}

